package com.java.service;

import com.java.entity.PageBean;
import com.java.entity.PsUser;
import org.springframework.stereotype.Service;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/11 13:16 Dream-Seeker
 * @Description
 */
@Service
public interface PsUserService {
    PsUser login(String userName, String password);

    PsUser getUserbyName(String userName);

    PageBean<PsUser> findByPage(int currentPage);

    Integer setLoginTime(PsUser user);
}
